
#include "transition.h"

Transition::Transition(State *from, State *state, string input) {
	this->from = from;
	this->state = state;
	this->input = input;
}

bool Transition::isSame(Transition *t) {
	if ((this->state == t->state) && (this->input == t->input)) return true;
	else return false;
}
